//#define __DEBUG__
// by Xeno
#define THIS_FILE "fn_checkrespawn.sqf"
#include "xr_macros.sqf"

private ["_pos","_dir"];
_pos = position _this;
_pos set [2, _this distance _pos];
_dir = direction _this;
__TRACE_3("","_this","_pos","_dir");
__pSetVar [QGVARXR(death_pos), [_pos, _dir]];